package com.yanqu.road.entity.banquet;

import com.yanqu.road.entity.DataObject;

/**
 * 宴会人气礼领奖情况
 */
public class UserBanquetFeastReward extends DataObject {

    /**
     * 唯一标示
     */
    private String banquetId;

    private int rewardId;

    private int type;

    private long userId;

    private boolean isGetReward;

    private long getTime;

    private String reward;

    public String getBanquetId() {
        return banquetId;
    }

    public void setBanquetId(String banquetId) {
        if(!banquetId.equals(this.banquetId)){
            this.banquetId = banquetId;
            setUpdateOption();
        }
    }

    public int getRewardId() {
        return rewardId;
    }

    public void setRewardId(int rewardId) {
        if(rewardId != this.rewardId){
            this.rewardId = rewardId;
            setUpdateOption();
        }
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        if(type != this.type){
            this.type = type;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(userId != this.userId){
            this.userId = userId;
            setUpdateOption();
        }
    }

    public boolean isGetReward() {
        return isGetReward;
    }

    public void setGetReward(boolean getReward) {
        if(getReward != this.isGetReward){
            isGetReward = getReward;
            setUpdateOption();
        }
    }

    public long getGetTime() {
        return getTime;
    }

    public void setGetTime(long getTime) {
        if(getTime != this.getTime){
            this.getTime = getTime;
            setUpdateOption();
        }
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        if(!reward.equals(this.reward)){
            this.reward = reward;
            setUpdateOption();
        }
    }
}
